
srcdir = .
LDFLAGS = -Wl,-lm
CFLAGS = -Wall -g 

# Change these if necessary

CC = gcc 
CPP = g++

all: treeview

treeview:treeview.o
	$(CC) -o $@ $^ $(CFLAGS) `pkg-config --libs libglade-2.0 gtk+-2.0` -export-dynamic
	
treeview.o:treeview.c
	$(CC) -c $< -o $@ $(CFLAGS) `pkg-config --cflags libglade-2.0 gtk+-2.0`

clean:
	rm -f *.o core *.gdb
	


